#include "task_cycle.h"
#include "FreeRTOS.h"
#include "task.h"
#include "enet_eval.h"

#define TASK_PRIO_STACKSIZE_5ms 128

static TaskHandle_t task_5ms_handle = NULL;

void Task_5ms(void);

void Task_5ms_init(void)
{
    xTaskCreate((TaskFunction_t)Task_5ms,"5ms_task",TASK_PRIO_STACKSIZE_5ms,NULL,TASK_PRIO_5ms,(TaskHandle_t *)task_5ms_handle);
}

void Task_5ms(void)
{
    while(1)
    { 
        check_enet();
        vTaskDelay(5);
    }
}


